package com.miao.dao;

import com.miao.pojo.User;

import java.util.List;

/**
 * @author 喵瑞恒
 * @date 2023/09/14 19:28
 **/
public interface IUserDao {

    /**
     * 查询所有
     */
    List<User> findAll() throws Exception;


    /**
     * 根据多条件查询
     */
    User findByCondition(User user) throws Exception;

}
